<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateItemPostsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('item_posts',function(Blueprint $table){

            $table->increments('id')->comment('ID');
            $table->string('items_id')->comment('项目ID');
            $table->string('member_id')->comment('用户ID');
            $table->string('username')->comment('用户ID');
            $table->text('content')->comment('审核意见');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
